import Config from './config/index';
import Service from './service/index';
import utils from './utils/index';
import ClickOutside from 'element-ui/src/utils/clickoutside';
let MyPlugin = {};
MyPlugin.install = function (Vue) {
  Vue.prototype.$VService = Service;
  Vue.prototype.$VLocalStorage = Service.LocalStorage;
  Vue.prototype.$VDataService = Service.DataService;
  Vue.prototype.$VConfig = Config;
  Vue.prototype.$VUtils = utils;
  Vue.directive('clickOutside', ClickOutside);
};

export default MyPlugin;
